package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 项目对象 fy_project
 *
 * @author ruoyi
 * @date 2025-06-05
 */
public class FyProject
{
    private static final long serialVersionUID = 1L;

    /** 项目ID */
    private Long projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目类别 */
    @Excel(name = "项目类别")
    private String projectType;

    /** 项目级别 */
    @Excel(name = "项目级别")
    private String projectLevel;

    /** 项目批次 */
    @Excel(name = "项目批次")
    private String projectBatch;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private String isTop;

    /** 封面图 */
    @Excel(name = "封面图")
    private String projectImg;

    /** 项目描述 */
    @Excel(name = "项目描述")
    private String projectBrief;

    /** 保护单位 */
    @Excel(name = "保护单位")
    private String unit;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Long isDelete;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setProjectType(String projectType)
    {
        this.projectType = projectType;
    }

    public String getProjectType()
    {
        return projectType;
    }
    public void setProjectLevel(String projectLevel)
    {
        this.projectLevel = projectLevel;
    }

    public String getProjectLevel()
    {
        return projectLevel;
    }
    public void setProjectBatch(String projectBatch)
    {
        this.projectBatch = projectBatch;
    }

    public String getProjectBatch()
    {
        return projectBatch;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setProjectImg(String projectImg)
    {
        this.projectImg = projectImg;
    }

    public String getProjectImg()
    {
        return projectImg;
    }
    public void setProjectBrief(String projectBrief)
    {
        this.projectBrief = projectBrief;
    }

    public String getProjectBrief()
    {
        return projectBrief;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setIsDelete(Long isDelete)
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete()
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("projectType", getProjectType())
            .append("projectLevel", getProjectLevel())
            .append("projectBatch", getProjectBatch())
            .append("isTop", getIsTop())
            .append("projectImg", getProjectImg())
            .append("projectBrief", getProjectBrief())
            .append("unit", getUnit())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
